﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace TMS.Infrastructrue.Migrations
{
    public partial class _0 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "apply",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    app_id = table.Column<Guid>(type: "uuid", nullable: false),
                    app_time = table.Column<DateTime>(type: "timestamp with time zone", maxLength: 20000, nullable: false),
                    app_text = table.Column<string>(type: "character varying(20000)", maxLength: 20000, nullable: true),
                    audit_id = table.Column<Guid>(type: "uuid", maxLength: 20000, nullable: false),
                    isok = table.Column<bool>(type: "boolean", maxLength: 20000, nullable: false),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_apply", x => x.id);
                });

            migrationBuilder.CreateTable(
                name: "avatar",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    file_type = table.Column<string>(type: "character varying(2000)", maxLength: 2000, nullable: false),
                    origin_name = table.Column<string>(type: "character varying(2000)", maxLength: 2000, nullable: false),
                    current_name = table.Column<string>(name: "current_name ", type: "character varying(2000)", maxLength: 2000, nullable: false),
                    relative_path = table.Column<string>(name: "relative_path ", type: "character varying(200000)", maxLength: 200000, nullable: false),
                    file_size = table.Column<long>(name: "file_size ", type: "bigint", nullable: false),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_avatar", x => x.id);
                });

            migrationBuilder.CreateTable(
                name: "book",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    book_name = table.Column<string>(type: "character varying(200000)", maxLength: 200000, nullable: true),
                    price = table.Column<decimal>(type: "numeric", maxLength: 200000, nullable: true),
                    count = table.Column<string>(type: "character varying(200000)", maxLength: 200000, nullable: true),
                    supplier = table.Column<string>(type: "character varying(200000)", maxLength: 200000, nullable: true),
                    major_id = table.Column<Guid>(type: "uuid", maxLength: 200000, nullable: false),
                    term_id = table.Column<Guid>(type: "uuid", maxLength: 200000, nullable: false),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_book", x => x.id);
                });

            migrationBuilder.CreateTable(
                name: "class",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    class_name = table.Column<string>(type: "character varying(200000)", maxLength: 200000, nullable: true),
                    major_id = table.Column<Guid>(type: "uuid", maxLength: 200000, nullable: false),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_class", x => x.id);
                });

            migrationBuilder.CreateTable(
                name: "college",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    college_name = table.Column<string>(type: "character varying(20000)", maxLength: 20000, nullable: true),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_college", x => x.id);
                });

            migrationBuilder.CreateTable(
                name: "course",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    course_id = table.Column<string>(type: "character varying(200000)", maxLength: 200000, nullable: true),
                    class_id = table.Column<Guid>(type: "uuid", maxLength: 200000, nullable: false),
                    term_id = table.Column<Guid>(type: "uuid", maxLength: 200000, nullable: false),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_course", x => x.id);
                });

            migrationBuilder.CreateTable(
                name: "dormitory",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    dorm_name = table.Column<string>(type: "character varying(2000000)", maxLength: 2000000, nullable: true),
                    dorm_count = table.Column<int>(type: "integer", maxLength: 2000000, nullable: false),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_dormitory", x => x.id);
                });

            migrationBuilder.CreateTable(
                name: "electiveCourse",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    course_text = table.Column<string>(type: "character varying(2000000)", maxLength: 2000000, nullable: true),
                    class_id = table.Column<Guid>(type: "uuid", maxLength: 2000000, nullable: false),
                    term_id = table.Column<Guid>(type: "uuid", maxLength: 2000000, nullable: false),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_electiveCourse", x => x.id);
                });

            migrationBuilder.CreateTable(
                name: "major",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    major_name = table.Column<string>(type: "character varying(200000)", maxLength: 200000, nullable: true),
                    college_id = table.Column<Guid>(type: "uuid", maxLength: 200000, nullable: false),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_major", x => x.id);
                });

            migrationBuilder.CreateTable(
                name: "majorchangesave",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    studnet_id = table.Column<string>(type: "character varying(2000000)", maxLength: 2000000, nullable: true),
                    class_id = table.Column<Guid>(type: "uuid", maxLength: 2000000, nullable: false),
                    dorm_id = table.Column<Guid>(type: "uuid", maxLength: 2000000, nullable: false),
                    term_id = table.Column<Guid>(type: "uuid", maxLength: 2000000, nullable: false),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_majorchangesave", x => x.id);
                });

            migrationBuilder.CreateTable(
                name: "mark",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    student_id = table.Column<string>(type: "character varying(2000000)", maxLength: 2000000, nullable: true),
                    course = table.Column<Guid>(type: "uuid", maxLength: 2000000, nullable: false),
                    score = table.Column<string>(type: "character varying(2000000)", maxLength: 2000000, nullable: true),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_mark", x => x.id);
                });

            migrationBuilder.CreateTable(
                name: "role",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    teacher_id = table.Column<string>(type: "character varying(2000000)", maxLength: 2000000, nullable: true),
                    is_master = table.Column<bool>(type: "boolean", maxLength: 2000000, nullable: false),
                    is_instructor = table.Column<bool>(type: "boolean", maxLength: 2000000, nullable: false),
                    is_teacher = table.Column<bool>(type: "boolean", maxLength: 2000000, nullable: false),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_role", x => x.id);
                });

            migrationBuilder.CreateTable(
                name: "stu_users",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    user_id = table.Column<string>(type: "character varying(200000)", maxLength: 200000, nullable: true),
                    password = table.Column<string>(type: "character varying(200000)", maxLength: 200000, nullable: true),
                    avatar_id = table.Column<Guid>(type: "uuid", maxLength: 200000, nullable: false),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_stu_users", x => x.id);
                });

            migrationBuilder.CreateTable(
                name: "students",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    student_id = table.Column<string>(type: "character varying(20000)", maxLength: 20000, nullable: true),
                    student_name = table.Column<string>(type: "character varying(20000)", maxLength: 20000, nullable: true),
                    sex = table.Column<char>(type: "character(20000)", maxLength: 20000, nullable: true),
                    identity_number = table.Column<long>(type: "bigint", maxLength: 20000, nullable: false),
                    phone_number = table.Column<long>(type: "bigint", maxLength: 20000, nullable: false),
                    chatting_number = table.Column<string>(type: "character varying(20000)", maxLength: 20000, nullable: true),
                    qq_number = table.Column<long>(type: "bigint", maxLength: 20000, nullable: false),
                    address = table.Column<string>(type: "character varying(20000)", maxLength: 20000, nullable: true),
                    father_name = table.Column<string>(type: "character varying(20000)", maxLength: 20000, nullable: true),
                    father_phone = table.Column<long>(type: "bigint", maxLength: 20000, nullable: false),
                    monther_name = table.Column<string>(type: "character varying(20000)", maxLength: 20000, nullable: true),
                    monther_phone = table.Column<long>(type: "bigint", maxLength: 20000, nullable: false),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_students", x => x.id);
                });

            migrationBuilder.CreateTable(
                name: "tea_users",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    user_id = table.Column<string>(type: "character varying(200000)", maxLength: 200000, nullable: true),
                    password = table.Column<string>(type: "character varying(200000)", maxLength: 200000, nullable: true),
                    avatar_id = table.Column<Guid>(type: "uuid", maxLength: 200000, nullable: false),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_tea_users", x => x.id);
                });

            migrationBuilder.CreateTable(
                name: "teachers",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    teacher_id = table.Column<string>(type: "character varying(20000)", maxLength: 20000, nullable: true),
                    teacher_name = table.Column<string>(type: "character varying(20000)", maxLength: 20000, nullable: true),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_teachers", x => x.id);
                });

            migrationBuilder.CreateTable(
                name: "term",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    term_name = table.Column<string>(type: "character varying(2000000)", maxLength: 2000000, nullable: true),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_term", x => x.id);
                });

            migrationBuilder.CreateTable(
                name: "tms_auditlog",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    parameters = table.Column<string>(type: "text", maxLength: 200000, nullable: true),
                    browser_info = table.Column<string>(type: "text", maxLength: 200000, nullable: true),
                    client_name = table.Column<string>(type: "text", maxLength: 200000, nullable: true),
                    client_ip_address = table.Column<string>(type: "text", maxLength: 200000, nullable: true),
                    execution_duration = table.Column<string>(type: "text", maxLength: 200000, nullable: false),
                    execution_time = table.Column<string>(type: "text", nullable: false),
                    return_value = table.Column<string>(type: "text", maxLength: 200000, nullable: true),
                    exception = table.Column<string>(type: "text", maxLength: 200000, nullable: true),
                    method_name = table.Column<string>(type: "text", maxLength: 200000, nullable: true),
                    service_name = table.Column<string>(type: "text", maxLength: 200000, nullable: true),
                    user_info = table.Column<string>(type: "text", maxLength: 200000, nullable: true),
                    custom_data = table.Column<string>(type: "text", maxLength: 200000, nullable: true),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_tms_auditlog", x => x.id);
                });

            migrationBuilder.CreateTable(
                name: "tms_exceptionlog",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    short_message = table.Column<string>(type: "text", maxLength: 200000, nullable: false),
                    full_message = table.Column<string>(type: "text", maxLength: 200000, nullable: false),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_tms_exceptionlog", x => x.id);
                });

            migrationBuilder.CreateTable(
                name: "tms_identity_user",
                columns: table => new
                {
                    id = table.Column<Guid>(type: "uuid", nullable: false),
                    user_id = table.Column<string>(type: "text", maxLength: 200000, nullable: false),
                    refresh_token = table.Column<string>(type: "text", maxLength: 200000, nullable: false),
                    refresh_token_expiration = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    updated_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
                    created_by = table.Column<string>(type: "text", nullable: true),
                    updated_by = table.Column<string>(type: "text", nullable: true),
                    is_actived = table.Column<bool>(type: "boolean", nullable: false),
                    is_deleted = table.Column<bool>(type: "boolean", nullable: false),
                    remarks = table.Column<string>(type: "character varying(800)", maxLength: 800, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_tms_identity_user", x => x.id);
                });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "apply");

            migrationBuilder.DropTable(
                name: "avatar");

            migrationBuilder.DropTable(
                name: "book");

            migrationBuilder.DropTable(
                name: "class");

            migrationBuilder.DropTable(
                name: "college");

            migrationBuilder.DropTable(
                name: "course");

            migrationBuilder.DropTable(
                name: "dormitory");

            migrationBuilder.DropTable(
                name: "electiveCourse");

            migrationBuilder.DropTable(
                name: "major");

            migrationBuilder.DropTable(
                name: "majorchangesave");

            migrationBuilder.DropTable(
                name: "mark");

            migrationBuilder.DropTable(
                name: "role");

            migrationBuilder.DropTable(
                name: "stu_users");

            migrationBuilder.DropTable(
                name: "students");

            migrationBuilder.DropTable(
                name: "tea_users");

            migrationBuilder.DropTable(
                name: "teachers");

            migrationBuilder.DropTable(
                name: "term");

            migrationBuilder.DropTable(
                name: "tms_auditlog");

            migrationBuilder.DropTable(
                name: "tms_exceptionlog");

            migrationBuilder.DropTable(
                name: "tms_identity_user");
        }
    }
}
